MailPoet\Config\Initializer A

Total Complexity 51
Dependencies 44
Dependents 2
Total lines 448
Lines of code 276
Logical lines of code 152
Comment lines 34
Methods 29
Properties 28

Methods 29

Method Rating Maintainability Complexity Lines of code
init()
S
41 3 65
initialize()
S
50 4 31
setupUpdater()
S
59 4 14
setupWoocommerceBlocksIntegration()
S
69 3 7
runActivator()
S
66 3 9
setupWoocommerceTransactionalEmails()
S
67 3 8
postInitialize()
S
64 3 10
maybeDbUpdate()
S
63 3 10
__construct()
S
50 1 29
preInitialize()
S
64 2 11
handleRunningMigration()
S
71 2 6
setupUserLocale()
S
72 2 5
handleFailedInitialization()
S
71 2 6
multisiteDropTables()
S
63 1 11
setupLocalizer()
S
81 1 3
setupPersonalDataErasers()
S
77 1 4
runDeactivation()
S
82 1 3
setupAutomaticEmails()
S
78 1 4
setupPermanentNotices()
S
82 1 3
setupPersonalDataExporters()
S
82 1 3
setupCapabilities()
S
76 1 4
setupPrivacyPolicy()
S
77 1 4
setupPages()
S
75 1 4
setupWidget()
S
81 1 3
setupInstaller()
S
72 1 6
setupCronTrigger()
S
80 1 3
setupImages()
S
80 1 3
setupShortcodes()
S
82 1 3
setupConflictResolver()
S
77 1 4